package com.cityfood.mapper;

import com.cityfood.pojo.CfCategory;
import com.cityfood.pojo.CfCategoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CfCategoryMapper {
    int countByExample(CfCategoryExample example);

    int deleteByExample(CfCategoryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CfCategory record);

    int insertSelective(CfCategory record);

    List<CfCategory> selectByExample(CfCategoryExample example);

    CfCategory selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CfCategory record, @Param("example") CfCategoryExample example);

    int updateByExample(@Param("record") CfCategory record, @Param("example") CfCategoryExample example);

    int updateByPrimaryKeySelective(CfCategory record);

    int updateByPrimaryKey(CfCategory record);
}